package cart.api.vo;

import java.io.Serializable;

/**
 * 库存查询返回VO
 * Created by Liang Wenxu on 2017/1/22.
 */
public class StockQueryResultVo implements Serializable {
    /**
     * ProductFashionId
     */
    private String fashionId;
    /**
     * 剩余库存（如有精确库存时>=0，无精确库存时返回-1）
     */
    private Integer stockCount;
    /**
     * 库存状态标志
     * GlobalContants.STOCK_FLAG_NO_STOCK = 0; // 无货
     * GlobalContants.STOCK_FLAG_HAS_STOCK = 1; // 有货
     * GlobalContants.STOCK_FLAG_PRE_ORDER = 2; // 预定
     */
    private Integer stockFlag;
    /**
     * 在售标志
     */
    private Boolean onSale;

    public String getFashionId() {
        return fashionId;
    }

    public void setFashionId(String fashionId) {
        this.fashionId = fashionId;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public Integer getStockFlag() {
        return stockFlag;
    }

    public void setStockFlag(Integer stockFlag) {
        this.stockFlag = stockFlag;
    }

    public Boolean getOnSale() {
        return onSale;
    }

    public void setOnSale(Boolean onSale) {
        this.onSale = onSale;
    }
}
